package com.b2bpsssm.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;
import java.math.BigDecimal;


//收款单表
   @ApiModel(value = "收款单表实体")
public class Receipt {
    @ApiModelProperty(name = "receipt_id",notes = "主键ID",dataType = "String",required = false)
      private  Integer  receipt_id;   //	主键ID(自增)
    @ApiModelProperty(name = "receipt_number",notes = "单据编号",dataType = "String",required = true)
      private String receipt_number;  //	单据编号
    @ApiModelProperty(name = "receipt_payer",notes = "付款方",dataType = "String",required = true)
      private String receipt_payer;   //    付款方
    @ApiModelProperty(name = "the_total_payment",notes = "总应收款",dataType = " BigDecimal",required = true)
      private BigDecimal the_total_payment;//   总应收款
    @ApiModelProperty(name = "handled_by",notes = "经手人",dataType = "String",required = true)
      private String handled_by;       //   经手人
    @ApiModelProperty(name = "collection_date",notes = "收款日期",dataType = "String",required = true)
   // @DateTimeFormat(pattern = "yyyy-MM-dd")
      private String collection_date; //  收款日期
    @ApiModelProperty(name = "credit_note",notes = "收款备注",dataType = "String",required = false)
      private String credit_note; //   收款备注
    @ApiModelProperty(name = "receipt_accessory",notes = "付款附件信息（上传附件）",dataType = "MultipartFile",required = false)
      private MultipartFile receipt_accessory; //  付款附件信息（上传附件）
    @ApiModelProperty(name = "receipt_clearing_form",notes = "结算方式",dataType = "String",required = true)
      private String receipt_clearing_form; //  	结算方式
    @ApiModelProperty(name = "receipt_coupn",notes = "优惠金额",dataType = "BigDecimal",required = true)
      private BigDecimal receipt_coupn;	//   优惠金额
    @ApiModelProperty(name = "receivable_amount",notes = "收款金额",dataType = "BigDecimal",required = true)
      private BigDecimal receivable_amount; //   收款金额
    @ApiModelProperty(name = "shop_id",notes = "门店ID",dataType = "Integer",required = true)
      private  Integer shop_id; //   门店ID

    public Integer getReceipt_id() {
        return receipt_id;
    }

    public void setReceipt_id(Integer receipt_id) {
        this.receipt_id = receipt_id;
    }

    public String getReceipt_number() {
        return receipt_number;
    }

    public void setReceipt_number(String receipt_number) {
        this.receipt_number = receipt_number;
    }

    public String getReceipt_payer() {
        return receipt_payer;
    }

    public void setReceipt_payer(String receipt_payer) {
        this.receipt_payer = receipt_payer;
    }

    public BigDecimal getThe_total_payment() {
        return the_total_payment;
    }

    public void setThe_total_payment(BigDecimal the_total_payment) {
        this.the_total_payment = the_total_payment;
    }

    public String getHandled_by() {
        return handled_by;
    }

    public void setHandled_by(String handled_by) {
        this.handled_by = handled_by;
    }

    public String getCollection_date() {
        return collection_date;
    }

    public void setCollection_date(String collection_date) {
        this.collection_date = collection_date;
    }

    public String getCredit_note() {
        return credit_note;
    }

    public void setCredit_note(String credit_note) {
        this.credit_note = credit_note;
    }

    public MultipartFile getReceipt_accessory() {
        return receipt_accessory;
    }

    public void setReceipt_accessory(MultipartFile receipt_accessory) {
        this.receipt_accessory = receipt_accessory;
    }

    public String getReceipt_clearing_form() {
        return receipt_clearing_form;
    }

    public void setReceipt_clearing_form(String receipt_clearing_form) {
        this.receipt_clearing_form = receipt_clearing_form;
    }

    public BigDecimal getReceipt_coupn() {
        return receipt_coupn;
    }

    public void setReceipt_coupn(BigDecimal receipt_coupn) {
        this.receipt_coupn = receipt_coupn;
    }

    public BigDecimal getReceivable_amount() {
        return receivable_amount;
    }

    public void setReceivable_amount(BigDecimal receivable_amount) {
        this.receivable_amount = receivable_amount;
    }

    public Integer getShop_id() {
        return shop_id;
    }

    public void setShop_id(Integer shop_id) {
        this.shop_id = shop_id;
    }

    @Override
    public String toString() {
        return "Receipt{" +
                "receipt_id=" + receipt_id +
                ", receipt_number='" + receipt_number + '\'' +
                ", receipt_payer='" + receipt_payer + '\'' +
                ", the_total_payment=" + the_total_payment +
                ", handled_by='" + handled_by + '\'' +
                ", collection_date='" + collection_date + '\'' +
                ", credit_note='" + credit_note + '\'' +
                ", receipt_accessory=" + receipt_accessory +
                ", receipt_clearing_form='" + receipt_clearing_form + '\'' +
                ", receipt_coupn=" + receipt_coupn +
                ", receivable_amount=" + receivable_amount +
                ", shop_id=" + shop_id +
                '}';
    }
}
